API Documentation
WindowDescriptor.h
1 // WindowDescriptor.h
3 //
5 
6 namespace nkGraphics
7 {
11  enum class WINDOW_PROPS
12  {
13  WIDTH = 0,
14  HEIGHT,
15  FULLSCREEN
16  } ;
17 }
18 
19 namespace nkGraphics
20 {
27  {
28  public :
29 
38 
39  // Getter
44  int getValue (WINDOW_PROPS prop) const ;
45 
46  // Setter
53  void setValue (WINDOW_PROPS prop, int value) ;
54 
55  // Print
60  } ;
61 }
nkGraphics::WindowDescriptor
Holds information about a window configuration.
Definition: WindowDescriptor.h:27
nkGraphics::WINDOW_PROPS::WIDTH
@ WIDTH
Property describing width.
nkGraphics::WindowDescriptor::WindowDescriptor
WindowDescriptor()
nkGraphics::WINDOW_PROPS
WINDOW_PROPS
Enum of all properties a window can have.
Definition: WindowDescriptor.h:12
nkGraphics::WindowDescriptor::setValue
void setValue(WINDOW_PROPS prop, int value)
nkGraphics::WindowDescriptor::~WindowDescriptor
~WindowDescriptor()
nkGraphics::WindowDescriptor::getAsString
nkMemory::StringView getAsString()
nkGraphics::WindowDescriptor::getValue
int getValue(WINDOW_PROPS prop) const
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::WINDOW_PROPS::HEIGHT
@ HEIGHT
Property describing height.
nkGraphics::WINDOW_PROPS::FULLSCREEN
@ FULLSCREEN
Property describing if it should be fullscreen.